-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
standardize the notation for optional parameters #698
standardize the notation for optional parameters #698
Conversation
Just a quick note. The fact that an argument is optional is readily apparent in the function definition ( |
If we are sure that the parameter does not get set inside functions body to anything (if it's NULL/empty during the call) then maybe it's a good idea to remove |
I am confused, Arguments are optional when you do not have to specify a value for them. They can have a default value, which is used if you do not specify. (did i read it wrong) |
@kartikeyakirar You are correct, my brain flipped the logic. |
Merge branch 'pre-release@main' into optional_notation@pre-release@main # Conflicts: # man-roxygen/ggplot2_args_multi.R # man/tm_a_pca.Rd # man/tm_a_regression.Rd # man/tm_g_association.Rd # man/tm_g_distribution.Rd # man/tm_missing_data.Rd # man/tm_outliers.Rd
fixes #674